remove duplicated number_helper tests in AP. They are already in AS.

With 155cd5e6 the number_helpers were moved into AS all the tests were copied over
but the tests in AP were not deleted. This is confusing.

I removed all duplicated tests and reorganized the tests in AP to only test the
functionality, that is added in AP.
cleanup AP number_helpers_test

* use 1.9 style hash syntax
* don't use brances on assert_equal
* prefere " over '
Merge pull request #9457 from senny/remove_duplicated_number_helper_tests

Remove duplicated number_helper tests in AP. They are already in AS.

With 155cd5e the number_helpers were moved into AS all the tests were copied over but the tests in AP were not deleted. This is confusing.

This removes all duplicated tests and reorganized the tests in AP to only test the functionality, that is added in AP.

Also cleanup some of the number helper tests.