Simple queue test classes and java classes