NoMainMethodInAbstractClass check has been edited. New test has been
added.